﻿using System;
using System.Collections.Generic;
using System.Text;

namespace taobao.Shop
{
    //API文档：http://wiki.open.taobao.com/index.php/ShopCat

    /// <summary>
    /// 店铺类目(ShopCat)  --   是否隐私 [Y]/[N]
    /// </summary>
    public class ShopCat:BaseModel
    {
        private string _cid = string.Empty;
        /// <summary>
        /// 类目编号。  --- Number   [N]
        /// </summary>
        public  string cid
        {
            set { _cid = value; }
            get { return _cid; }
        }

        private string _parent_cid = string.Empty;
        /// <summary>
        /// 父类目编号，注：此类目指前台类目，值等于0：表示此类目为一级类目，值不等于0：表示此类目有父类目  --  Number  [N]
        /// </summary>
        public string parent_cid
        {
            set { _parent_cid = value; }
            get { return _parent_cid; }
        }

        private string _name = string.Empty;
        /// <summary>
        /// 类目名称。    ---  String [N]
        /// </summary>
        public string name
        {
            set { _name = value; }
            get { return _name; }
        }

        private string _is_parent = string.Empty;
        /// <summary>
        /// 该类目是否为父类目。即：该类目是否还有子类目。      Boolean  [N]
        /// </summary>
        public string is_parent
        {
            set { _is_parent = value; }
            get { return _is_parent; }
        }
    }
}
